import request from '/@/utils/request';

/**
 * 系统信息
 * @method 
 * @method 
 */
export function useServerApi() {
	return {
		getMachineBaseInfo: (params?: object) => {
			return request<any, AjaxResult>({
				url: '/Server/ServerBase',
				method: 'get',
				params,
			});
		},
		getMachineUseInfo: (params?: object) => {
			return request<any, AjaxResult>({
				url: '/Server/ServerUsed',
				method: 'get',
				params,
			});
		},
		getMachineDiskInfo: (params?: object) => {
			return request<any, AjaxResult>({
				url: '/Server/ServerDisk',
				method: 'get',
				params,
			});
		},
		getAssemblyInfo: (params?: object) => {
			return request<any, AjaxResult>({
				url: '/Server/AssemblyList',
				method: 'get',
				params,
			});
		},
	};
}
